package com.dba.example.gwt.client.views;

import com.dba.example.gwt.client.beans.Company;
import com.dba.example.gwt.client.beans.Page;
import com.google.gwt.place.shared.Place;
import com.google.gwt.user.client.ui.IsWidget;

public interface CompanyListView extends IsWidget {

	void setPresenter(Presenter presenter);

	void reset();
	
	void setPage(Page<Company> page);

	public interface Presenter {
		
		void goTo(Place place);
		
		void getPage(int offset, int size, String sortColumn, String sortDirection, String search);
		
	}

}
